<template>
    <u-form-grid :data="formGrid"></u-form-grid>
</template>

<script>
    import values from '../../utils/values'

    export default {
        name: 'SettlementImport',
        data () {
            return {
                formGrid: {
                    options: {
                        version: 'v2',
                        url: {
                            page: "/settlementImport/page",
                            save: "/settlementImport/save",
                            delete: "/settlementImport/delete",
                        }
                    },
                    tips: {title: "SettlementImport", content: "SettlementImport"},

                    form: {
                        modal: {
                            title: "SettlementImport"
                        },
                        columns: [
                                        {label: "id", type: "text", name: "id", required: true},
                                        {label: "batchNo", type: "text", name: "batchNo", required: true},
                                        {label: "orderNo", type: "text", name: "orderNo", required: true},
                                        {label: "transType", type: "text", name: "transType", required: true},
                                        {label: "transStatus", type: "text", name: "transStatus", required: true},
                                        {label: "bankName", type: "text", name: "bankName", required: true},
                                        {label: "cardNo", type: "text", name: "cardNo", required: true},
                                        {label: "price", type: "text", name: "price", required: true},
                                        {label: "fee", type: "text", name: "fee", required: true},
                                        {label: "transStartDate", type: "text", name: "transStartDate", required: true},
                                        {label: "transStartTime", type: "text", name: "transStartTime", required: true},
                                        {label: "transEndDate", type: "text", name: "transEndDate", required: true},
                                        {label: "transEndTime", type: "text", name: "transEndTime", required: true},
                                        {label: "giveDate", type: "text", name: "giveDate", required: true},
                                        {label: "settleDate", type: "text", name: "settleDate", required: true},
                                        {label: "settleAmount", type: "text", name: "settleAmount", required: true},
                                        {label: "settleStatus", type: "text", name: "settleStatus", required: true},
                                        {label: "refundSeqNo", type: "text", name: "refundSeqNo", required: true},
                                        {label: "businessSeqNo", type: "text", name: "businessSeqNo", required: true},
                                        {label: "transNo", type: "text", name: "transNo", required: true},
                                        {label: "externalRefNumber", type: "text", name: "externalRefNumber", required: true},

                        ]
                    },
                    table: {
                        operation: {
                            primaryKey: "id",
                        },
                        columns: [
                                                        { title: 'id', key: 'id' },
                                                        { title: 'batchNo', key: 'batchNo' },
                                                        { title: 'orderNo', key: 'orderNo' },
                                                        { title: 'transType', key: 'transType' },
                                                        { title: 'transStatus', key: 'transStatus' },
                                                        { title: 'bankName', key: 'bankName' },
                                                        { title: 'cardNo', key: 'cardNo' },
                                                        { title: 'price', key: 'price' },
                                                        { title: 'fee', key: 'fee' },
                                                        { title: 'transStartDate', key: 'transStartDate' },
                                                        { title: 'transStartTime', key: 'transStartTime' },
                                                        { title: 'transEndDate', key: 'transEndDate' },
                                                        { title: 'transEndTime', key: 'transEndTime' },
                                                        { title: 'giveDate', key: 'giveDate' },
                                                        { title: 'settleDate', key: 'settleDate' },
                                                        { title: 'settleAmount', key: 'settleAmount' },
                                                        { title: 'settleStatus', key: 'settleStatus' },
                                                        { title: 'refundSeqNo', key: 'refundSeqNo' },
                                                        { title: 'businessSeqNo', key: 'businessSeqNo' },
                                                        { title: 'transNo', key: 'transNo' },
                                                        { title: 'externalRefNumber', key: 'externalRefNumber' },
                                                    ]
                    }
                }
            }
        },
        methods: {

        }
    }
</script>
